package com.hai.mapper;

import com.hai.entity.Department;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author NieChangan
 * @since 2022-05-21
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    /**
     * 功能描述: <br>
     * 〈分组查询部门的名字和人数〉
     * @Param:
     * @Return:
     * @Author: Mr.Nie
     * @Date:
     */
    List<Department> getDepartmentNameAndCount();
}
